<?php

class Admin_Bootstrap extends Zend_Application_Module_Bootstrap
{
    protected function _initAutoload(){        
        $front = Zend_Controller_Front::getInstance();
        $front->registerPlugin(new Zend_Controller_Plugin_ErrorHandler(array(
                                'module'     => 'error',
                                'controller' => 'error',
                                'action'     => 'error'
        )));
        $autoloader = new Zend_Application_Module_Autoloader(array(
            'namespace' => '',
            'basePath' => APPLICATION_PATH,
        ));        
        return $autoloader;                                        
    }                                   

}